﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xrm.Sdk;

namespace JavascriptWebResourcesManager
{
    class Solution
    {
        public Entity InnerSolution { get; set; }
        public string CustomizationPrefix { get; set; }
        public override string ToString()
        {
            if (this.InnerSolution != null)
            {
                return InnerSolution["friendlyname"].ToString();
            }
            else
            {
                return "(null)";
            }
        }
    }
}
